package org.bigjava.biz;

import org.bigjava.bean.Tzgg;

import java.util.List;

public interface TzggService {
    //根据标题或者内容搜索公告
    public List<Tzgg> tzggSouSuo(String title,String content);
    //修改公告
    public int tzggXiuGai(Tzgg tzgg);
    //发布公告
    public int tzggAdd(Tzgg tzgg);
    //根据id假删除业主
    public int tzggShanChu(int id);
    //根据id查询公告信息
    public Tzgg tzggId(int id);
    //公告总数
    public int tzggZong();
    //分页查询公告信息
    public List<Tzgg> tzggFenYe(int offset , int length);
}
